Skip to content

Fixed scrapers#668

Merged
lalalaurentiu merged 4 commits intopeviitor-ro:mainfrom
lalalaurentiu:main
Nov 20, 2025
Merged

Fixed scrapers#668
lalalaurentiu merged 4 commits intopeviitor-ro:mainfrom
lalalaurentiu:main

Conversation

@lalalaurentiu
Copy link
Collaborator

This pull request updates several job scraper scripts to handle changes in the APIs and HTML structures of external job sites. The main focus is on adapting to new endpoints, updating data extraction logic, and improving robustness and accuracy of the job data collected.

API endpoint and data structure updates:

  • Updated the Arcadis and Vodafone scrapers (sites/arcadis.py, sites/vodafone.py) to use new API endpoints and adapt to changes in the JSON response structure, ensuring correct extraction of job count and positions. [1] [2]
  • Changed the way job links are constructed for Arcadis and Vodafone to concatenate the base URL with the relative positionUrl field, matching the new API format. [1] [2]

HTML parsing and pagination improvements:

  • Refactored the Danone scraper (sites/danone.py) to use HTML parsing instead of JSON, iterating through paginated results and extracting job details from the updated page structure.

Robustness improvements:

  • Added verify=False to all get_from_url calls in the Siemens Energy scraper (sites/siemensenergy.py) to handle SSL verification issues and prevent failures when fetching job data. [1] [2]

These changes ensure that the scrapers continue to function correctly and collect accurate job information despite changes in the external job sites' APIs and HTML layouts.

@lalalaurentiu lalalaurentiu merged commit 577d213 into peviitor-ro:main Nov 20, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant